package dbobjects;

import dbreflection.tablemanagement.DOTable;
import dbreflection.tablemanagement.DOField;
import dbreflection.tablemanagement.DatabaseObject;

/**
 * User: [J0k3r]
 * Date: 16.01.2009
 * Time: 16:18:09
 */
@DOTable(table = "db_journal", pk = "id")
public class DBJournal extends DatabaseObject
{
    @DOField(column = "id")
    private Integer id;
    @DOField(column = "journal_name")
    private String name;

    public DBJournal() {
        this.name = UNASSIGNEDSTRING;
        this.id = UNASSIGNEDINT;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
